<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
	<title>Winning Marketing</title>
	<link href="style.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
<!--
.style4 {color: #FF0000}
-->
    </style>
	
<script language="JavaScript">

<!--

/*
Required field(s) validation- By NavSurf
Visit NavSurf.com at http://navsurf.com
Visit http://www.dynamicdrive.com for this script
*/

function formCheck(formobj){
	//1) Enter name of mandatory fields
	var fieldRequired = Array("enquirerName", "enquiry", "email", "telephone");
	//2) Enter field description to appear in the dialog box
	var fieldDescription = Array("Name (surname in caps) ", "Enquires ", "Email Address ", "Telephone (Home/Mobile) ");
	//3) Enter dialog message
	var alertMsg = "Please complete the following fields:\n";

	var l_Msg = alertMsg.length;

	for (var i = 0; i < fieldRequired.length; i++){
		var obj = formobj.elements[fieldRequired[i]];
		if (obj){
			switch(obj.type){
			case "select-one":
				if (obj.selectedIndex == -1 || obj.options[obj.selectedIndex].text == ""){
					alertMsg += " - " + fieldDescription[i] + "\n";
				}
				break;
			case "select-multiple":
				if (obj.selectedIndex == -1){
					alertMsg += " - " + fieldDescription[i] + "\n";
				}
				break;
			case "text":
			case "textarea":
				if (obj.value == "" || obj.value == null){
					alertMsg += " - " + fieldDescription[i] + "\n";
				}
				break;
			default:
				if (obj.value == "" || obj.value == null){
					alertMsg += " - " + fieldDescription[i] + "\n";
				}
			}
		}
	}

	if (alertMsg.length == l_Msg){
		return true;
	}else{
		alert(alertMsg);
		return false;
	}
}
//-->
</script>
</head>

<body>
<div id="container">
	<div id="main">
		<div id="header"><img src="images/template/skitemplate_03.gif" width="753" height="341" /></div>
		<div id="nav">
			<ul>
				<li><a href="index.php">About Us </a></li>
				<li><a href="product.php">Products</a></li>
				<li><a href="wholesale.html">Wholesale / Export</a></li>
				<li><a href="members.html">Members Area </a></li>
				<li><a href="contactUs.html">Enquiry / Contact us</a></li>
				<li><a href="Settlement.php">Shopping Cart</a></li>
			</ul>
		</div>
		<div id="content">
		  <div id="left">
		    <div class="post">
		      <h1>Enquiry Contact Us </h1>
		      <p>&nbsp;</p>
<FORM name="formcheck" onSubmit="return formCheck(this);"
METHOD="POST" ACTION="EnquiryController.php">
		      Name : * (required field) 
		      <p>
		        <input type="text" name="enquirerName" size="50" />
		  </p>
		      <p>&nbsp;</p>
		      <p>Enquiries :	* (required field)        </p>
		      <p>
		        <textarea name="enquiry" rows="12" cols="60"></textarea>
	          </p>
		      <p>&nbsp;</p>
		      <p>Email Address : * (required field)        </p>
		      <p><input name="email" size="50"  /> </p>
		      <p>&nbsp;</p>
		      <p>Telephone : * (required field)        </p>
		      <p><input name="telephone" size="30"  /></p>
		      <p>&nbsp;</p>
		      <p>Facsimile : </p>
		      <p><input name="facsimile" size="30"  /></p>
		      <p>&nbsp;</p>
		      <h2>Thank you!!!</h2>
		      <p>&nbsp;</p>
		      <p><input type="submit" value="Submit Form"  /> <input type="reset" value="Reset Form"  /></p> </FORM>
			  
		    </div>
	      </div>
		  <p>&nbsp;</p>
		  <div class="clear"></div>
	  </div>
	</div>
	<div id="footer">
		<ul>
			<li><a href="index.php">About Us | </a></li>
			<li><a href="product.php">Products | </a></li>
			<li><a href="wholesale.html">Wholesale / Export | </a></li>
			<li><a href="members.html">Members Area | </a></li>
			<li><a href="contactUs.html">Enquiry / Contact Us | </a></li>
			<li><a href="Settlement.php">Shopping Cart</a></li>
		</ul>
		<span>copyright of Winning Marketing</span>
	</div>
    <p>&nbsp;</p>
</div>
</body>
</html>